//
//  PhoneCallManager.h
//  20240823
//
//  Created by 张伟 on 2024/8/25.
//

#import <Foundation/Foundation.h>
#import <LJPerson.h>

NS_ASSUME_NONNULL_BEGIN

@interface PhoneCallManager : NSObject

/// 展示通讯录中的电话号码
/// - Parameters:
///   - person: 通讯录数据对象
///   - phoneNumber: 选择的电话号码
+(void)showPhoneNumber:(LJPerson *)person selectPhoneNumber:(void(^)(NSString * number))phoneNumber;


/// 拨打电话
/// - Parameter number: 拨打的号码
+(void)callPhoneNumber:(NSString *)number;

@end

NS_ASSUME_NONNULL_END
